<!--{subtemplate common/header}-->
<link rel="stylesheet" type="text/css" href="{STATICURL}/forum/thegioiao.css?{VERHASH}"/>
	<div class="main-box-menu-p">
        <!--{subtemplate forum/menu_forum}-->
        <div id="pt" class="menu-p">
            <div class="mar-first">
                <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="{echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'}" style="font-family:tahoma Regular">{if !$gid}<h1>{/if}{$_G[setting][navs][2][navname]}{if !$gid}</h1>{/if}</a>$navigation
            </div>
            <div class="z">
                <!--{hook/index_status_extra}-->
            </div>
        </div>
    </div><!--main-box-menu-p-->
    <!-- Kiem tra khuc vuc dat quang cao va hien thi phia duoi navigation neu co -->
        <!--{ad/text/wp a_t}-->
    <!--{subtemplate common/ads_banner_1}-->
    <!--Ket thuc quang cao tren -->
    <div class="maincontent cl">
    <!--{if !$gid}-->
        <!--{loop $catlist $keycat $cat}-->
        	<!--{ad/intercat/bm a_c/$cat[fid]}-->
            <!--{if $cat[styleid] == 2}-->
            <!--{subtemplate forum/index_box_media}-->
            <!--{else}-->
            <!--{subtemplate forum/index_box_default}-->
        	<!--{/if}-->
        <!--{/loop}-->
	<!--{else}-->
       <!--{loop $catlist $keycat $cat}-->
       		<!--{if $cat[styleid] == 2}-->
            <!--{subtemplate forum/index_groupf_media}-->
            <!--{else}-->
            <!--{subtemplate forum/index_groupf_default}-->
            <!--{/if}-->
       <!--{/loop}-->
    <!--{/if}--> 
    </div>
    <div class="sidebar cl">
        <!-- Kiem tra va hien thi chuc nang thong bao -->
        <!--{if $announcements}-->
        <div class="w_sbox">
            <div class="title_sbox">{lang announcements}</div><!--End title_sbox-->
            <div class="announcement_box">
                <ul>
                    $announcements
                </ul>
            </div><!--End announcement_box-->
        </div><!--End w_sbox-->
        <!--{/if}-->
        <div class="w_sbox">
            <div class="title_sbox">Thành viên mới</div><!--End title_sbox-->
            <div class="new_member">
                <ul class="cl">
                    <!--{loop $list_newest_member $key $list}-->
                    <li><a href="home.php?mod=space&username={$list[username]}" c="1">{avatar($list['uid'], small)}</a></li>
                    <!--{/loop}-->
                </ul>
            </div><!--End new_member-->
        </div><!--End w_sbox-->
        <div class="w_sbox">
            <div class="title_sbox">Blogs mới</div><!--End title_sbox-->
            <div class="hot_blog_box">
                <ul class="cl">
                	<!--{loop $list_blogs_new $key $list}-->
                    <li class="cl">
                        <a href="home.php?mod=space&username={$list[username]}" c="1">{avatar($list['uid'], small)}</a>
                        <a href="home.php?mod=space&uid={$list[uid]}&do=blog&id={$list[blogid]}">$list['subject']</a><br />
                        <em class="xg1 no_bold">$list['dateline']</em>
                    </li>
               		<!--{/loop}-->
                </ul>
                <div class="clear"></div>
            </div><!--End hot_blog_box-->
        </div><!--End w_sbox-->
        <div class="w_sbox">
            <div class="title_sbox">Albums mới</div><!--End title_sbox-->
            <div class="hot_album_box">
                <ul class="cl">
                    <!--{loop $list_albums_new $key $list}-->
                    <li class="cl">
                        <a href="home.php?mod=space&username={$list[username]}&do=album&id={$list[albumid]}"><img src="{$_G['setting']['attachurl']}album/{$list[pic]}" alt="$list['albumname']" title="$list['albumname']" /></a>
                        <a href="home.php?mod=space&username={$list[username]}&do=album&id={$list[albumid]}" class="link_btn" title="$list['albumname']">$list['albumname']</a>
                        <a href="home.php?mod=space&username={$list[username]}" c="1"  class="link_btn no_bold">$list[username]</a>
                        <em class="xg1 no_bold" style="font-size:11px;">$list['dateline']</em>
                    </li>
               		<!--{/loop}-->
                </ul>
                <div class="clear"></div>
            </div><!--End hot_blog_box-->
        </div><!--End w_sbox-->
        <!--{if !$gid}-->
        <div class="w_sbox">
            <div class="title_sbox">Chúng tôi trên Facebook</div><!--End title_sbox-->
            <div class="facebook_plugin">
                <div class="fb-like-box" data-href="https://www.facebook.com/MangXaHoiDaNangWoo.VN" data-width="260" data-height="300" data-show-faces="true" data-border-color="#FFFFFF" data-stream="false" data-header="false">&nbsp;</div>
            </div><!--End hot_blog_box-->
        </div><!--End w_sbox-->
        <div id="fb-root"></div>
		<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>
        <!--{/if}-->
    <!--{subtemplate common/ads_right}-->
    </div><!--End sidebar-->
    <div class="cl">&nbsp;</div>
</div>
<!--{subtemplate common/footer}-->